package com.yixun.qfbao.util;

public class GetHeaderUtils {

    /**
     * 获取登录人的ID
     *
     * @return
     */
    public static String getUserId() {
        return HttpServletUtil.getRequest().getHeader("userId");
    }

    /**
     * 获取系统类型
     * @return
     */
    public static String getLoginType() {
        return HttpServletUtil.getRequest().getHeader("loginType");
    }

    /**
     * 获取公司UUID
     * @return
     */
    public static String getCompanyUuid() {
        return HttpServletUtil.getRequest().getHeader("companyUuid");
    }
}
